<?php

namespace App\Modules\Home\Services;


use  App\Modules\Home\Models\Archives;

class ArchivesService
{
    /**
     * 个人健康档案详情
     * param int $task_id 任务ID
     */
    public static function getArchives($id){
        return Archives::getArchives($id);
    }

    /**
     * 添加地址
     * param array $data
     */
    public static function addArchives($data=[]){
        return Archives::addArchives($data);
    }

    /**
     * 更新地址
     * param int $task_id 任务ID
     */
    public static function updateArchives($data){
        return Archives::updateArchives($data);
    }
}